global class UpdateSalesYszxdetails implements Schedulable {
    global void execute(SchedulableContext sc) {
        UpdateSalesYszxdetailsBatch  batch = new UpdateSalesYszxdetailsBatch();
        Database.executeBatch(batch);
    }
}
/*
global class UpdateSalesYszxdetails1 implements Database.Batchable<sObject> {
    
    global UpdateSalesYszxdetails1() {
    }
    
    global Database.QueryLocator start(Database.BatchableContext BC) {
        return Database.getQueryLocator([select Id from SalesYszxdetails__c where RelateAccount__c = null and RelateProduct__c = null]);
    }

    global void execute(Database.BatchableContext BC, List<sObject> s) {
        // 其他逻辑
        update s;
    }
    
    global void finish(Database.BatchableContext BC) {
        
    }
    
}
*/